<%@ page import="BL.Anmelden"%>

<div style="text-align: left;">
	<img src="aroundme.jpg" name="aroundme" alt="AroundMe" width="100"
		height="100">
</div>
<div style="text-align: right;">
	<%
		String us = request.getParameter("user");
		String pw = request.getParameter("password");
		boolean angemeldet = false;
		
		// Vergleichen Mit USer Datenbanktabelle
	
		
		
		
		//if (us == null || "".equals(us) || pw == null || "".equals(pw)) {
		if ( !angemeldet ) {
	%>
	<h3>Anmeldung</h3>
	<form method="post" action="header.jsp">
		<b>Benutzername:</b> <input type="text" name="user"
			value="<%out.print(us != null ? us : "");%>"> <br /> <b>Passwort:</b>
		<input type="password" name="password"
			value="<%out.print(pw != null ? pw : "");%>"> <input
			type="submit" value="Anmelden">
	</form>
	<br />
	<%
		} else {
	%>
	<h3>Ihre Anmeldedaten</h3>
	Benutzername:<%=request.getParameter("user")%>
	<br /> Passwort:<%=request.getParameter("password")%>
	<%
		}
	%>